#Anaconda/envs/pyqtenv python
# -*- coding: utf-8 -*-
'''
@File    :   Main.py
@Time    :   2024/10/18 16:07:38
@Author  :   WangXi 
@Version :   1.0
@Desc    :   Built in PyQt5
             网络演示系统程序总入口，通过注释或改写可控制启动界面
             - MainWindowPro() 地面站终端界面
             - MainWindowMin() 移动终端界面
             - AppMiniSFC() MiniSFC可视化界面
             - AppWebspider() 网络爬虫控制台界面
'''

import sys
from PyQt5.QtWidgets import QApplication

if __name__ == "__main__":
    styleFile = 'Netterminal/Forms/qss/MaterialDark.qss'
    with open(styleFile, 'r', encoding="utf-8") as f:
        qssStyle = f.read()
    
    app = QApplication(sys.argv)
    
    # from Netterminal.Sources.App.MainWindowPro import MainWindowPro
    # mainWindowPro1 = MainWindowPro()
    # mainWindowPro1.setStyleSheet(qssStyle)
    # mainWindowPro1.show()
    
    from Netterminal.Sources.App.MainWindowMin import MainWindowMin
    mainWindowMin1 = MainWindowMin()
    mainWindowMin1.setStyleSheet(qssStyle)
    mainWindowMin1.show()
    
    # from Netterminal.Sources.App.AppMiniSFC import AppMiniSFC
    # appMinisfc = AppMiniSFC()
    # appMinisfc.setStyleSheet(qssStyle)
    # appMinisfc.show()
    
    # from Netterminal.Sources.App.AppWebspider import AppWebspider
    # appWebspider = AppWebspider()
    # appWebspider.setStyleSheet(qssStyle)
    # appWebspider.show()

    sys.exit(app.exec_())
    